﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Stocks
{
    /// <summary>
    ///  商品跟踪类
    /// </summary>
    [Serializable]
    public class ProductTruck
    {
        public ProductTruck()
        {}
        #region Model
        private int _id;
        private int _barcodeid;
        private int _adminid;
        private DateTime _operationtime;
        private ProductStateEnum _operationtype;
        private StockTypeEnum _storetype;
        private int _storeid;
        /// <summary>
        /// 主键
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 条码ID
        /// </summary>
        public int BarcodeID
        {
            set { _barcodeid = value; }
            get { return _barcodeid; }
        }
        /// <summary>
        /// 操作人员
        /// </summary>
        public int Adminid
        {
            get { return _adminid; }
            set { _adminid = value; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperationTime
        {
            set { _operationtime = value; }
            get { return _operationtime; }
        }
        /// <summary>
        /// 操作类型  同商品状态
        /// </summary>
        public ProductStateEnum OperationType
        {
            set { _operationtype = value; }
            get { return _operationtype; }
        }
        /// <summary>
        /// 仓库类型 枚举类型
        /// </summary>
        public StockTypeEnum StoreType
        {
            set { _storetype = value; }
            get { return _storetype; }
        }
        /// <summary>
        /// 仓库ID
        /// </summary>
        public int StoreID
        {
            set { _storeid = value; }
            get { return _storeid; }
        }
        #endregion Model
    }
}
